package net.alche.fa.core.doing.sub;

import java.util.ArrayList;
import java.util.HashMap;

// import cn.hutool.http.HttpRequest;
import net.alche.fa.core.doing.invoker.SystemInvoker;

// StaticObjUtil
@SuppressWarnings("all")
public class StaticObjUtil {
  static Long baseLong = (long) 0;

  public StaticObjUtil() {
  }

  public static Object newSpecialObj(String objName, Object[] params, Class[] classes) {
    switch (objName) {
      // case "HutoolHttpRequest" : {
      // return new HttpRequest("http://127.0.0.1");
      // }
      case "System": {
        return new SystemInvoker();
      }
      case "Map": {
        return new HashMap();
      }
      case "HashMap": {
        return new HashMap();
      }
      case "List": {
        return new ArrayList();
      }
      case "DateTimeZoneUtil": {
      }
      // return new DateTimeZoneUtil()
      case "Long": {
        return baseLong;
      }
      case "long": {
        return baseLong;
      }
    }
    return null;
  }
}